// 正式API
var NewApiRootUrl = 'https://api.simullink.com/simulv2/';
// 测试API
// var NewApiRootUrl = 'https://test2.blcclb.com/simulv2/';
// var NewApiRootUrl = 'http://47.94.251.36:5081/simulv2/';
// var NewApiRootUrl = 'http://39.106.213.57:5081/simulv2/';

module.exports = {
  // 1.活动相关
  activityUrl: NewApiRootUrl + 'activity/list', //首页活动列表
  // acitivityInfoUrl: NewApiRootUrl + 'activity/info', //单个活动的详情
  activityInfoMeta:NewApiRootUrl + 'activity/info',
  activityInfoDetail:NewApiRootUrl+'activity/info/detail',
  shareActivity: NewApiRootUrl + 'poster/generate',
  posterInfo: NewApiRootUrl + 'poster/info',
  // 2.收藏或者关注 （活动和评论）
  collectActivity: NewApiRootUrl + 'follow/activity', //收藏活动
  // collectActivityCancel: NewApiRootUrl + 'collect/activity/cancel', //取消收藏活动
  collectActivityCount: NewApiRootUrl + 'collect/activity/count', //活动收藏数量
  collectActivityList: NewApiRootUrl + 'collect/activity/list', //活动被哪些人收藏
  collectActivityv2: NewApiRootUrl + 'collect/activity/v2', //我的收藏活动（三类：已经开始、未开始、结束）
  collectComment: NewApiRootUrl + 'collect/comment', //收藏评论
  collectCommentCancel: NewApiRootUrl + 'collect/comment/cancel', //取消收藏评论
  collectCommentCount: NewApiRootUrl + 'collect/comment/count', //评论收藏数量
  // 3.评论
  feelingList: NewApiRootUrl + 'feeling/list', //某个活动的感受列表

  commentList: NewApiRootUrl + 'comment/list', //某个活动的评论列表
  comment: NewApiRootUrl + 'comment', //添加评论的评论
  tongGan: NewApiRootUrl +'simul/feeling',
  simulusers: NewApiRootUrl +'comment/simulusers',
  getCommentById: NewApiRootUrl + 'feeling',
  // 4.用户
  userAuth: NewApiRootUrl + 'authorize',
  userInfo: NewApiRootUrl + 'user/info',
  userStatis: NewApiRootUrl + 'user/statistic',
  //5.我的票据
  // ticketList: NewApiRootUrl + 'ticket/list',
  memoryList: NewApiRootUrl + 'user/memories/group',
  commonMemoryList: NewApiRootUrl+'memory/common',
  commonActivityList: NewApiRootUrl + 'user/common/activities',

  // 第一页
  memoryFirstPage: NewApiRootUrl + 'user/followedActivities/firstPage',//正在和即将的活动回忆
  memoryListNew: NewApiRootUrl + 'user/followedActivities/next', //历史活动回忆


  //6.手机验证码
  verifyCode: NewApiRootUrl + 'common/verifyCode',
  bindMobile: NewApiRootUrl + 'regist',

  //7.支付环节
  createUnifiedOrder: NewApiRootUrl + 'order/applet/buy',
  generateSignature: NewApiRootUrl + '',
  
  // 8.生成分享图
  generateSharePic: NewApiRootUrl + 'poster/generatewxshare',
  // 生成二维码(新)
  generateQrcode: NewApiRootUrl + 'qrcode/generate',
   // 解析Scene(新)
  crackScene: NewApiRootUrl + 'qrcode/scene',

  //9.检索 上传 
  searchAct: NewApiRootUrl + 'activity/search',
  qiniutoken: NewApiRootUrl +'qiniu/token',
  uploadTonggan: NewApiRootUrl + 'feeling',

  };